//
// Copyright (C) [2024] Xingyun Integrated Circuit, Inc.
//
// GreenCode was a private technology asset of Xingyun Integrated Circuit， Inc （Confidential）
//  Author: Shawn.Tan
//  Date : 2025.10.28
//
//  History : Initial Version 2025.10.28
//
//
#ifndef Green_PathUtils_H
#define Green_PathUtils_H

#include <string>

namespace Green {

  std::string get_parent_path(const std::string& in_path); //!< Return parent path of a path string.
  std::string get_file_stem(const std::string& in_path); //!< Return the filename stem of a path string
  std::string get_real_path(const char* in_path); //!< Obtain real path of the file name passed in through \param in_path.
  bool verify_file_path(const std::string& file_name, bool fail_not_valid=true); //<! Verify if a file path exist and readable.

}

#endif
